import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import './assets/styles/index.css'
import Vant from 'vant'//导入vant
import 'vant/lib/index.css'//导入css样式

/**
 * 封装 axios 请求模块
 */
 import axios from "@/utils/request.js";
 //把axios加入到原型中去
 Vue.prototype.$axios = axios;

Vue.use(Vant)//Vue中间件使用

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
